//
//  Created by Lee on 15/7/28.
//  Copyright (c) 2015年 Lee. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LEUnitCell;

#define DEFAULTCELL @"DEFAULTCELL" 

@protocol LEUnitCellDelegate<NSObject>

/**
 *  通知cell被点击，执行删除操作
 */
- (void) unitCellTouched:(LEUnitCell *)unitCell;

@end

@interface LEUnitCell: UIView

@property (nonatomic, weak) id<LEUnitCellDelegate> delegate;

@property (nonatomic, assign) CGFloat ratio;//进度条比例

/**显示的图片*/
@property (nonatomic, strong) UIImage *image;

/**
 *  @param icon  成员头像
 *  @param name  成员名字
 */
- (id)initWithFrame:(CGRect)frame andIconImage:(UIImage *)icon andName:(NSString *)name;

@end
